$OpenBSD: patch-util_rarian-sk-rebuild_in,v 1.3 2015/07/25 04:25:57 ajacoutot Exp $

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=186879

--- util/rarian-sk-rebuild.in.orig	Mon Sep  1 20:40:21 2008
+++ util/rarian-sk-rebuild.in	Thu Jul 23 08:39:13 2015
@@ -9,7 +9,7 @@ exec_prefix=@exec_prefix@
 bindir=@bindir@
 convert_dir=@CONVERT_DIR@
 datarootdir=@datarootdir@
-statedir=@localstatedir@/lib/rarian
+statedir=@localstatedir@/db/rarian
 datadir=@datadir@
 output_dir=${datadir}/help
 package_version=@PACKAGE_VERSION@
@@ -22,7 +22,7 @@ if [ -e $statedir/rarian-update-mtimes ]
 then
     for x in $(grep -e '^0:@:' $statedir/rarian-update-mtimes)
     do
-	if [[ $convert_string != "REPLACEME" ]]
+	if [ $convert_string != "REPLACEME" ]
 	then
 	    convert_string=$convert_string:${x##0:@:}
 	else
